function savelocal(name, data) {
    window.localStorage.setItem(name, data)
}

function getlocal(name) {
    return window.localStorage.getItem(name)
}
function removelocal(name) {
    return window.localStorage.removeItem(name)
}

export { savelocal, getlocal ,removelocal}